export const commonInfo = [
    // 候诊屏-头部
    {
        type: "scene-head",
        icon: "text-field",
        formItemFlag: false,
        shown: true,
        category: "scene",         // 组件库类型
        categoryType: 'header',    // 设备类型 例:报到机(一级设备分类)
        screenDataType: '',        // 设备类型的二级分类
        devType: 'common',             // 组件库二级分类
        title: '通用-头部',
        mapperFiles: [], //映射
        options: {
            name: "通用-头部组件",
            hidden: false,
            config: 'headerConfig',
            headerConfig: {
                headHide: false,
                content: '',
                titleContent: '',
                // viewMode 7 时，contentShow 为 true
                viewMode7Show: true,
                contentShow: false,
                contentHide: false,
                tipTextShow: false,
                rightContentLocation: 'right-connectBoxCenter',
                contentLocation: 'connectBoxCenter',
                headHeight: 150,

                deptFontWeight: 'normal',
                deptFontColor: "#ffffff",
                deptFontSize: 68,
                fontColor: "#ffffff",
                backgroundColor: 'transparent',
                timeValue: 'YYYY/MM/DD',
                imageUrl: '',
                imageHeight: 140,
                deptAreaUrl: [{
                    "url": "",
                }],
                changePosition: false,
                dateHide: false,
                dateShow: true,
                dataHoursMinBack: 'rgba(4, 24, 24, 1)',
                dataHoursMinColor: '#FFFFFF',
                dataHoursMinHeight: 101,
                dataHoursMinWidth: 283,
                transverse: true, //是否是横屏
                split: 0.5,         //比例
                viewMode: 7,
                logoVisit: true, // logo 显/隐,
                timeBorderRadius: 50
            }
        },
    },
    // 诊室屏头部
    {
        type: "scene-head2",
        icon: "text-field",
        formItemFlag: false,
        shown: true,
        category: "scene",         // 组件库类型
        categoryType: 'header',    // 设备类型 例:报到机(一级设备分类)
        screenDataType: '',        // 设备类型的二级分类
        devType: 'common',             // 组件库二级分类
        title: '诊室屏-头部2',
        mapperFiles: [], //映射
        options: {
            name: "诊室屏-头部2",
            hidden: false,
            config: 'headerConfig2',
            headerConfig2: {
                headHide: false,
                content: '',
                titleContent: '',
                contentShow: false,
                contentHide: false,
                tipTextShow: false,
                contentLocation: 'connectBoxLeft',
                headHeight: 218,
                deptFontWeight: 'normal',
                deptFontColor: "#000",
                deptFontSize: 68,
                fontColor: "#333333",
                backgroundColor: 'transparent',
                timeValue: 'YYYY/MM/DD',
                imageUrl: '',
                deptAreaUrl: [{
                    "url": "",
                }],
                changePosition: false,
                dateHide: false,
                dateShow: true,
                dataHoursMinBack: '#FFFFFF',
                dataHoursMinColor: 'rgba(4, 24, 24, 1)',
                dataHoursMinHeight: 140,
                dataHoursMinWidth: 263,
                transverse: true, //是否是横屏
                split: 0.5,         //比例
                viewMode: 1,
                logoVisit: true, // logo 显/隐,
                timeBorderRadius: 50
            }
        },
    },
    // 候诊屏-头部-二维码
    {
        type: "scene-head-QRcode",
        icon: "text-field",
        formItemFlag: false,
        shown: true,
        category: "scene",         // 组件库类型
        categoryType: 'header',    // 设备类型 例:报到机(一级设备分类)
        screenDataType: '',        // 设备类型的二级分类
        devType: 'common',             // 组件库二级分类
        title: '通用-头部-二维码',
        mapperFiles: [], //映射
        options: {
            name: "通用-头部-二维码",
            hidden: false,
            config: 'headerConfig',
            headerConfig: {
                headHide: false,
                content: '',
                contentShow: false,
                contentHide: false,
                headHeight: 150,
                deptFontWeight: 'normal',
                deptFontColor: "#000",
                deptFontSize: 68,
                fontColor: "#333333",
                backgroundColor: '#FFFFFF',
                timeValue: 'YYYY/MM/DD',
                imageUrl: '',
                changePosition: false,
                dateHide: false,
                dateShow: true,
                transverse: true, //是否是横屏
                split: 0.5,         //比例
                viewMode: 1,
                rcodeUrl1OnOff: true,
                qrcodeUrl1: '',  // 二维码1地址
                qrcodeUrl1Name: '二维码名称', //二维码1的名称
                rcodeUrl2OnOff: true,
                qrcodeUrl2: '', // 二维码2地址
                qrcodeUrl2Name: '二维码名称', //二维码2的名称
            }
        },
    },
    // 候诊屏-头部
    {
        type: "scene-head-center",
        icon: "text-field",
        formItemFlag: false,
        shown: true,
        category: "scene",         // 组件库类型
        categoryType: 'header',    // 设备类型 例:报到机(一级设备分类)
        screenDataType: '',        // 设备类型的二级分类
        devType: 'common',             // 组件库二级分类
        title: '候诊-头部(居中)',
        mapperFiles: [], //映射
        options: {
            name: "候诊-头部(居中)",
            hidden: false,
            config: 'headerConfig',
            headerConfig: {
                headHide: false,
                content: '',
                contentShow: false,
                contentHide: false,
                headHeight: 150,
                fontColor: "#333333",
                backgroundColor: 'transparent',
                timeValue: 'YYYY/MM/DD',
                imageUrl: {},
                changePosition: false,
                dateHide: false,
                dateShow: true,
            }
        },
    },
    // 候诊-头部(内容居中)
    {
        type: "scene-head-Content-center",
        icon: "text-field",
        formItemFlag: false,
        shown: true,
        category: "scene",         // 组件库类型
        categoryType: 'header',    // 设备类型 例:报到机(一级设备分类)
        screenDataType: '',        // 设备类型的二级分类
        devType: 'common',             // 组件库二级分类
        title: '候诊-头部(内容居中)',
        mapperFiles: [], //映射
        options: {
            name: "候诊-头部(内容居中)",
            hidden: false,
            config: 'headerConfigDebris',
            headerConfigDebris: {
                headHeight: 126,
                backgroundColor: '#00000000',
                titleShow: true,
                deptNameKey: 'deptName',
                timeValue: 'YYYY年MM月DD日',
                dataHoursMinBack: '#FF9A5A'
            }
        },
    },
    // 温馨提示
    {
        type: "scene-tips",
        icon: "text-field",
        formItemFlag: false,
        shown: true,
        category: "scene",          // 组件库类型
        categoryType: 'tips-common',//设备类型 例:报到机
        screenDataType: '',         // 设备类型的二级分类
        devType: 'common',          // 组件库二级分类
        title: '通用-温馨',
        mapperFiles: [], //映射
        options: {
            name: "通用-温馨提示",
            hidden: false,
            config: 'tipsConfig',
            tipsConfig: {
                contentHeight: 133,
                contentLocation: 'left',
                backgroundColor: '',
                headerFontSize: 66,
                headerColor: '#FFFFFF',
                listFontColor: "#FFFFFF",
                listFontWeight: 'normal',
                listFontSize: 56,
                contentInfo: '温馨提示：请保持安静，祝您早日康复！',
                scrollable: false,
                speed: 2,
                marginTop: 0,
                iconType: 'volume',
                viewMode: 1,
                iconVisit: false,
            }
        },
    },

    // 温馨提示-居中
    {
        type: "scene-tips-center",
        icon: "text-field",
        formItemFlag: false,
        shown: true,
        category: "scene",          // 组件库类型
        categoryType: 'tips-common',//设备类型 例:报到机
        screenDataType: '',         // 设备类型的二级分类
        devType: 'common',          // 组件库二级分类
        title: '通用-温馨-居中',
        mapperFiles: [], //映射
        options: {
            name: "通用-温馨提示-居中",
            hidden: false,
            config: 'tipsConfig',
            tipsConfig: {
                contentHeight: 100,
                backgroundColor: 'transparent',
                headerFontSize: 66,
                headerColor: '#0059B4',
                listFontColor: "rgba(254, 229, 141, 1)",
                listFontSize: 50,
                listFontWeight: 'normal',
                contentInfo: '温馨提示：请保持安静，祝您早日康复！',
                scrollable: false,
                speed: 2,
                marginTop: 0,
                iconType: 'volume',
            }
        },
    },

    // todo 九龙坡区人民医院-温馨提示
    {
        type: "scene-notice-code",
        icon: "text-field",
        formItemFlag: false,
        shown: true,
        category: "scene",          // 组件库类型
        categoryType: 'tips-common',//设备类型 例:报到机
        screenDataType: '',         // 设备类型的二级分类
        devType: 'common',          // 组件库二级分类
        title: '通用-温馨-二维码',
        mapperFiles: [], //映射
        options: {
            name: "九龙坡区人民医院-温馨提示",
            hidden: false,
            config: 'noticeConfig',
            noticeConfig: {
                contentHeight: 130,
                contentLocation: 'center',
                backgroundColor: 'rgba(0, 89, 179, 1)',
                listFontColor: "#333333",
                listFontWeight: 'normal',
                listFontSize: 40,
                contentInfo: '温馨提示：请保持安静，祝您早日康复！',
                scrollable: false,
                speed: 2,
                iconType: 'volume',
                viewMode: 1,
                codeTips: '扫一扫<br/>关注公众号',
                codeColor: 'rgba(255, 255, 255, 1)',
                codeAreaUrl: [{
                    "url": "",
                }],
            }
        },
    },
    // 过号患者
    {
        type: "scene-pass",
        icon: "text-field",
        formItemFlag: false,
        shown: true,
        category: "scene",                   // 组件库类型
        categoryType: 'pass-patient-common', //设备类型 例:报到机
        screenDataType: '',                  // 设备类型的二级分类
        devType: 'common',                   // 组件库二级分类
        title: '通用-过号',
        mapperFiles: [], //映射
        options: {
            name: "通用-过号信息",
            hidden: false,
            config: 'passPatientConfig',
            passPatientConfig: {
                contentHeight: 92,
                backgroundColor: 'rgba(255, 255, 255, 0)',
                headerShown: true,
                marginHorizontal: 28,
                marginVertical: 10,
                headerNameVisit: true,
                headerName: '过号',
                headerNameWidth: '46',
                iconTypeVisit: false,
                iconType: 'volume',
                headerFontSize: 48,
                headerBorderRadius: 14,
                headerFontColor: '#FFFFFF',
                headerBackgroundColor: 'rgb(255,167,44)',
                IconHeaderBackgroundColor: 'rgb(255,167,44)',
                headerBackgroundColorPaddingWidth: '10',
                headerBackgroundColorPaddingHeight: '10',
                headerFontWeight: 'normal',
                listFontWeight: 'normal',
                listFontsize: 40,
                listFontsColor: "#FFA72C",
                scrollableNumber: 5,
                DataProcessingMode: 1, // 数据处理方式: 1 滚动、2 截取
                splicelableNumber: 7,
            }
        },
    },

    // 候诊患者
    {
        type: "scene-wait",
        icon: "text-field",
        formItemFlag: false,
        shown: true,
        category: "scene",                   // 组件库类型
        categoryType: 'wait-patient-common', //设备类型 例:报到机
        screenDataType: '',                  // 设备类型的二级分类
        devType: 'common',                   // 组件库二级分类
        title: '通用-候诊',
        mapperFiles: [], //映射
        options: {
            name: "通用-候诊",
            hidden: false,
            config: 'waitPatientConfig',
            waitPatientConfig: {
                contentHeight: 100,
                backgroundColor: 'rgba(255, 255, 255, 0)',
                headerShown: true,
                marginHorizontal: 28,
                marginVertical: 10,
                headerName: '候诊',
                headerFontSize: 48,
                headerBorderRadius: 8,
                headerFontColor: '#FFFFFF',
                headerBackgroundColor: 'rgba(0,89,179,1)',
                headerFontWeight: 'normal',
                listFontWeight: 'normal',
                listFontsize: 40,
                listFontsColor: "#333333",
                scrollableNumber: 5,
                waitPatientSlice: false,
            }
        },
    },

    {
        type: "scene-scrollX-info",
        icon: "text-field",
        formItemFlag: false,
        shown: true,
        category: "scene",          // 组件库类型
        categoryType: 'tips-common',//设备类型 例:报到机
        screenDataType: 'timeDate', // 设备类型的二级分类
        devType: 'common',          // 组件库二级分类
        title: '通用-滚动信息',
        mapperFiles: [], //映射
        options: {
            name: "通用-滚动信息",
            hidden: false,
            config: 'scrollXConfig',
            scrollXConfig: {
                viewHeight: 81,
                background: 'rgba(0,89,179,1)',
                iconTime: {
                    fontSize: 60,
                    fontWeight: "normal",
                    background: 'rgba(0,0,0,0.2)',
                },
                // 图标
                icon: {
                    shown: true,
                    type: 'clock-o',
                    fontSize: 60,
                    fontWeight: "normal",
                    fontColor: 'rgba(255,255,255,1)',
                },
                // 时间
                dateTime: {
                    shown: true,
                    timeShown: true,
                    value: 'YYYY/MM/DD',
                    fontSize: 60,
                    fontWeight: "normal",
                    fontColor: 'rgba(255,255,255,1)',
                },
                // 内容
                content: {
                    value: '温馨提示：请保持安静，祝您早日康复！',
                    fontSize: 60,
                    fontWeight: "normal",
                    fontColor: 'rgba(255,255,255,1)',
                    background: 'rgba(0,89,179,0.2)',
                    scrollable: false,
                    speed: 2,
                },
            }
        },
    },

    // 叫号通用
    {
        type: 'scene-call',
        icon: 'text-field',
        formItemFlag: false,
        shown: true,
        category: 'scene', // 组件库类型
        categoryType: 'call-common', //设备类型 例:报到机
        screenDataType: '', // 设备类型的二级分类
        devType: 'common', // 组件库二级分类
        title: '通用-叫号',
        mapperFiles: [], //映射
        options: {
            name: '通用-叫号提示',
            hidden: false,
            config: 'callConfig',
            callConfig: {
                contentHeight: 150,
                backgroundColor: 'rgba(229, 234, 239, 1)',
                isIcon: false,
                iconFontSize: 79,
                iconColor: '#0059B4',
                defaultFontColor: '#333333',
                defaultFontWeight: 'normal',
                defaultFontSize: 82,
                // 患者字体相关
                patientFontColor: 'rgba(226, 13, 13, 1)',
                patientFontWeight: 'normal',
                patientFontSize: 82,
                patientBackgroundColor: 'rgba(255, 255, 255,0)',

                // 科室字体相关
                deptFontColor: 'rgba(226, 13, 13, 1)',
                deptFontWeight: 'normal',
                deptFontSize: 82,
                deptBackgroundColor: 'rgba(255, 255, 255,0)',
                isCenter: true,
                scrollable: false,
                speed: 2,
                viewMode: 1,
            }
        }
    },
    // 叫号通用
    {
        type: "scene-header",
        icon: "text-field",
        formItemFlag: false,
        shown: true,
        category: "scene",         // 组件库类型
        categoryType: 'header',    // 设备类型 例:报到机(一级设备分类)
        screenDataType: '',        // 设备类型的二级分类
        devType: 'common',             // 组件库二级分类
        title: '诊室屏-头部',
        desc: '九龙坡区人民医院',
        mapperFiles: [], //映射
        options: {
            name: "头部组件-九龙坡区人民医院",
            hidden: false,
            config: 'headerOptions',
            headerOptions: {
                headHide: false,
                headHeight: 148,
                backgroundColor: 'rgba(217, 253, 255, 1)',
                timeValue: 'YYYY年MM月DD日',
                imageUrl: '',  // logo
                imageHeight: 78,
                logoVisit: true, // logo 显/隐
                color: 'rgba(23, 28, 168, 1)',
                fontSize: 40
            }
        },
    },
    // 示例组件
    {
        type: 'example',
        icon: 'text-field',
        formItemFlag: false,
        shown: false,
        category: 'scene', // 组件库类型
        categoryType: 'call-common', //设备类型 例:报到机
        screenDataType: '', // 设备类型的二级分类
        devType: 'common', // 组件库二级分类
        title: '通用-示例组件',
        mapperFiles: [], //映射
        options: {
            hidden: true,
            name: '通用-示例组件',
            areaInfo: {
                height: 1080,
                fontSize: 14,
                fontWeight: 'normal',
                color: 'rgba(0,0,0,1)',
                background: 'rgba(256,256,256,0)'
            },
        }
    },
]
